﻿using AppFramework.App.Shared.Editions.Dto;
using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppFramework.Admin.Models.Edition
{
    [INotifyPropertyChanged]
    public partial class FlatFeatureModel
    {
        [ObservableProperty]
        public bool isChecked;

        public string ParentName { get; set; }

        public string Name { get; set; }

        public string DisplayName { get; set; }

        public string Description { get; set; }

        public string DefaultValue { get; set; }

        public FeatureInputTypeDto InputType { get; set; }

        [ObservableProperty]
        public ObservableCollection<FlatFeatureModel> items;
    }
}
